package pojo;

public class User {
    private String username;
    private String email;

    private void testUser(){
        System.out.println("testPrivateUser");
    }
    public User() {
    }

    public User(String username, String email) {
        this.username = username;
        this.email = email;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    public String toString() {
        return "User{username = " + username + ", email = " + email + "}";
    }
}
